#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2016-11-27 18:38:20
# @Author  : guoben (guoben.ly@qq.com)
# @Link    : https://git.oschina.net/guoben

import requests

url = 'https://api.weibo.com/2/statuses/public_timeline.json'
if __name__ == "__main__":
    r = requests.get(url)
    print r.status_code
